package io.gitee.dqcer.mcdull.uac.provider.web.car.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.gitee.dqcer.mcdull.uac.provider.common.annotation.Excel;
import io.gitee.dqcer.mcdull.uac.provider.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 维修监控对象 car_vehicle_repair
 * 
 * @author ruoyi
 * @date 2023-12-10
 */
public class CarVehicleRepair extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long repairId;

    /** 维修车辆 */
    @Excel(name = "维修车辆")
    private Long vehicleId;

    /** 维修类型 */
    @Excel(name = "维修类型")
    private String repairType;

    /** 详细描述 */
    @Excel(name = "详细描述")
    private String repairDescription;

    /** 维修费用 */
    @Excel(name = "维修费用")
    private BigDecimal repairCost;

    /** 维修时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "维修时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date repairTime;

    /** 预计完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date estimatedCompletionTime;

    /** 实际完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "实际完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date actualCompletionTime;

    /** 维修状态 */
    @Excel(name = "维修状态")
    private String repairStatus;

    /** 负责人 */
    @Excel(name = "负责人")
    private String responsiblePerson;

    /** 现场图片 */
    @Excel(name = "现场图片")
    private String sceneImage;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setRepairId(Long repairId) 
    {
        this.repairId = repairId;
    }

    public Long getRepairId() 
    {
        return repairId;
    }
    public void setVehicleId(Long vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public Long getVehicleId() 
    {
        return vehicleId;
    }
    public void setRepairType(String repairType) 
    {
        this.repairType = repairType;
    }

    public String getRepairType() 
    {
        return repairType;
    }
    public void setRepairDescription(String repairDescription) 
    {
        this.repairDescription = repairDescription;
    }

    public String getRepairDescription() 
    {
        return repairDescription;
    }
    public void setRepairCost(BigDecimal repairCost) 
    {
        this.repairCost = repairCost;
    }

    public BigDecimal getRepairCost() 
    {
        return repairCost;
    }
    public void setRepairTime(Date repairTime) 
    {
        this.repairTime = repairTime;
    }

    public Date getRepairTime() 
    {
        return repairTime;
    }
    public void setEstimatedCompletionTime(Date estimatedCompletionTime) 
    {
        this.estimatedCompletionTime = estimatedCompletionTime;
    }

    public Date getEstimatedCompletionTime() 
    {
        return estimatedCompletionTime;
    }
    public void setActualCompletionTime(Date actualCompletionTime) 
    {
        this.actualCompletionTime = actualCompletionTime;
    }

    public Date getActualCompletionTime() 
    {
        return actualCompletionTime;
    }
    public void setRepairStatus(String repairStatus) 
    {
        this.repairStatus = repairStatus;
    }

    public String getRepairStatus() 
    {
        return repairStatus;
    }
    public void setResponsiblePerson(String responsiblePerson) 
    {
        this.responsiblePerson = responsiblePerson;
    }

    public String getResponsiblePerson() 
    {
        return responsiblePerson;
    }
    public void setSceneImage(String sceneImage) 
    {
        this.sceneImage = sceneImage;
    }

    public String getSceneImage() 
    {
        return sceneImage;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("repairId", getRepairId())
            .append("vehicleId", getVehicleId())
            .append("repairType", getRepairType())
            .append("repairDescription", getRepairDescription())
            .append("repairCost", getRepairCost())
            .append("repairTime", getRepairTime())
            .append("estimatedCompletionTime", getEstimatedCompletionTime())
            .append("actualCompletionTime", getActualCompletionTime())
            .append("repairStatus", getRepairStatus())
            .append("responsiblePerson", getResponsiblePerson())
            .append("sceneImage", getSceneImage())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}
